package com.byapp.fast.modules.match.dto;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 赛事消息事件
 */
@NoArgsConstructor
@Data
public class MatchMsgEventDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 赛事ID */
    @SerializedName("mId")
    private String matchId;

    /* 玩法类型 亚盘："ASIAN"、欧盘："EUROPE"*/
    @SerializedName("play")
    private String play;

    /* 比赛阶段 */
    @SerializedName("match_phase")
    private String matchPhase;

    /* 消息类型 */
    @SerializedName("msgType")
    private String msgType;

    /* 赔率阶段 */
    @SerializedName("odds_phase")
    private String oddsPhase;

    /* 赔率 */
    @SerializedName("odds")
    private String odds;

    /* 封盘状态 */
    @SerializedName("b_status")
    private String betStatus = "0";

    /* 盘口 */
    @SerializedName(value = "handicap", alternate = {"h_value"})
    private String handicap = "0";

    /* 玩法ID */
    private String playId;

    /* SP 赔率/盘口主键ID */
    private String matchSpId;

}
